/*
* ==============================================================================
*  Name        : SIPEXSocketEngineObserver.h
*  Part of     : SIPExSocketEngine
*  Interface   : 
*  Description : 
*  Version     : 
*
*  Copyright (c) 2004-2006 Nokia Corporation.
*  This material, including documentation and any related 
*  computer programs, is protected by copyright controlled by 
*  Nokia Corporation.
* ==============================================================================
*/

#ifndef MSIPEXSOCKETENGINEOBSERVER_H
#define MSIPEXSOCKETENGINEOBSERVER_H

// INCLUDES
#include    "SIPExSocketEngine.h"

// CLASS DECLARATIONS
/**
* Interface for observing the socket engine.
*/
class MSIPExSocketEngineObserver
    {
    public:

        /**
        * SocketState
        * @param aNewState The new state of the socket engine.
        */
        virtual void SocketState( TInt aNewState ) = 0;
        
        /**
        * SocketData
        * @param aData The data from socket.
        */
        virtual void onReadDataDone( TPtrC8 aData ) = 0;
        virtual void onWriteDataDone( TPtrC8 aData ) = 0;
    };

#endif // MSIPEXSOCKETENGINEOBSERVER_H

// End of file
